package com.youhome.api.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by chen365 on 2018/10/22.
 */
@Data
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@ApiModel
public class ZHVIResult {

    @ApiModelProperty(notes = "平均房产价格")
    private Double zhvi;

    @ApiModelProperty(notes = "月度环比")
    private Double mom;

    @ApiModelProperty(notes = "季度环比")
    private Double qoq;

    @ApiModelProperty(notes = "年度同比")
    private Double yoy;

    @ApiModelProperty(notes = "5年均值")
    private Double y_5;

    @ApiModelProperty(notes = "10年均值")
    private Double y_10;

    @ApiModelProperty(notes = "最高值月份")
    private String peak_month;

    @ApiModelProperty(notes = "最高值季度")
    private String peak_quarter;

    @ApiModelProperty(notes = "最高历史房价")
    private Double peak_value;

    @ApiModelProperty(notes = "当前房价与最高比")
    //@ApiModelProperty(notes = "高点回落比例")
    private Double pct_fall_from_peak;

    @ApiModelProperty(notes = "上次同值时间")
    private String last_time_at_curr;
}
